<!--# layout("/common/layout.html",{"jsBase":"/js/admin/product/"}){ -->

<form class="layui-form layui-form-pane" id="addForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">商品名称</label>
                <div class="layui-input-inline">
                    <input type="text" name="name" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">商品成本</label>
                <div class="layui-input-inline">
                    <input type="text" name="cost" class="layui-input">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">商品折扣</label>
                <div class="layui-input-inline">
                    <input type="text" name="discount" class="layui-input">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">备注</label>
                <div class="layui-input-inline">
                    <input type="text" name="remark" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">createdAt</label>
                <div class="layui-input-inline">
                    <input type="text" name="createdAt" class="layui-input input-date">
                </div>
            </div>
        </div>
    </div>
    <layui:submitButtons id="addButton"/>
</form>
<!--#} -->
<script>
    layui.use(['add'], function () {
        var productAdd = layui.add
        productAdd.init();
    });
</script>
